package com.meilai.project.entity.administration.goods;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meilai.project.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("supplier_goods")
public class Goods extends BaseEntity {
    @ApiModelProperty(value = "供应商ID")
    private Long supplier_id;
    @ApiModelProperty(value = "物品名称")
    private String name;
    @ApiModelProperty(value = "材质")
    private String material;
    @ApiModelProperty(value = "尺寸")
    private String size;
    @ApiModelProperty(value = "单价，保留两位小数", example = "10.00")
    private BigDecimal price;
    @ApiModelProperty(value = "制作时间")
    private String production_time;
}
